# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class BashouscrapyItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass

# 人民检察院案件信息公开网 --列表
class IndictmentListItem(scrapy.Item):
    title = scrapy.Field()
    caseHref = scrapy.Field()
    hasDoc = scrapy.Field()
    uploadDate = scrapy.Field()

# 人民检察院案件信息公开网 --content
class IndictmentContentItem(scrapy.Item):
    type = scrapy.Field()
    rawData = scrapy.Field()
    _id = scrapy.Field()

# 文书网 --条件
class WenshuParamItem(scrapy.Item):
    PARAM = scrapy.Field()
    CN_PARAM = scrapy.Field()
    PUB_DATE = scrapy.Field()
    FINAL_PARAM = scrapy.Field()
    HAS_ERROR = scrapy.Field()
    COUNT = scrapy.Field()
    IS_CRAWL = scrapy.Field()
    CRAWL_TIME = scrapy.Field()

# 文书网 --列表
class WenshuListItem(scrapy.Item):
    # PARAM = scrapy.Field()
    # CN_PARAM = scrapy.Field()
    # PUB_DATE = scrapy.Field()
    # FINAL_PARAM = scrapy.Field()
    # HAS_ERROR = scrapy.Field()
    # COUNT = scrapy.Field()
    # IS_CRAWL = scrapy.Field()
    # CRAWL_TIME = scrapy.Field()
    hasDoc = scrapy.Field()
    hasSummary = scrapy.Field()
    PubDate = scrapy.Field()

# 文书网 --详情
class WenshuContentItem(scrapy.Item):
    _id = scrapy.Field()
    DocContent = scrapy.Field()

# 文书网 --summary
class WenshuSummaryItem(scrapy.Item):
    _id = scrapy.Field()
    summary = scrapy.Field()



